linux/x86: Adjust and fix page table handling.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 20 Feb 2007 09:33:14 +0000 (09:33 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 20 Feb 2007 09:33:14 +0000 (09:33 +0000)
commiteee7931c831b189bb77f59a3d1b52668ddfc4d32
treec75ae7c24996d5df5240505bf443bf7d5bb62027
parentec08a094b2b6437406adab0f19cb89bf26c4f3ad
linux/x86: Adjust and fix page table handling.

Ensure that all and only those page table entries that have their
present bit set undergo p2m/m2p translation in all relevant places.
This should fix migration issues with _PAGE_PROTNONE pages which
previously could retain MFNs in PTEs while having the present bit
clear (and thus were not getting (un)canonicalized during save/
restore).

Many thanks to Keir Fraser for his analysis, suggestions, and
corrections.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/maddr.h
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/page.h
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-2level.h
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-3level.h
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable.h
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/maddr.h
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/page.h
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pgtable.h